<?php


namespace app\common\model;

class ProductAttrGroupModel extends CommonModel
{
    protected $name = 'product_attr_group';

    public function categoryInfo(): \think\model\relation\BelongsTo
    {
        return $this->belongsTo(ProductCategoryModel::class, 'category_id', 'id');
    }
}